package com.pinyougou.sellergoods.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.pinyougou.beans.User;
import com.pinyougou.mapper.UserMapper;
import com.pinyougou.sellergoods.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * 作者：刘兴
 * 时间:19/1/25
 **/
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public List<User> list() {
        System.out.println("调用到了service....");
        return userMapper.list();
    }
}
